package BC135_KiKi求质数个数;


public class Main {
    public static void main(String[] args) {
        int count = 0;
        for (int i = 100; i < 1000; i++){
            int j = 2;
            for (; j < i; j++){
                if (i % j == 0){
                    break;
                }
            }
            if (i == j) {
                count++;
            }
        }

        System.out.println(count);
    }
}
